<script type="text/javascript" src="/xheditor-1.2.2/xheditor-1.2.2.min.js"></script>
<script type="text/javascript" src="/xheditor-1.2.2/xheditor_lang/zh-cn.js"></script>
<script>
function editor(objid)
{
	$('#'+objid).xheditor(
	{
		upImgUrl:'!/nadmin.php?ac=inc/iframepic&from=editor&appid=<!--{$appid}-->',
		upFlashUrl:'!/xheditor/xheditor_plugins/multiupload/multiupload.htm',
		upMediaUrl:'!/xheditor/xheditor_plugins/multiupload/multiupload.htm',
		showBlocktag:true,
		forcePtag:false
	});
}
</script>